/*
 * @brief
 * @auther aolei1024@gmail.com
 * @date 2019-08-28
 */
#ifndef _SERVERTEST_H_
#define _SERVERTEST_H_
#include "Listener.h"
#include <memory>
#include <unordered_map>
class ServerTest
{
    public:
        ServerTest();
        ~ServerTest();
        void Run(std::string ip,int port);
    private:
        std::shared_ptr<Listener> moniter = nullptr;
        std::unordered_map<uint32_t,std::shared_ptr<KcpConnect>> userMgr;

};


#endif //_SERVERTEST_H_
